#ifndef SOURCEDIALOG_H
#define SOURCEDIALOG_H

#ifndef WX_PRECOMP
	//(*HeadersPCH(SourceDialog)
	#include <wx/sizer.h>
	#include <wx/stattext.h>
	#include <wx/textctrl.h>
	#include <wx/panel.h>
	#include <wx/button.h>
	#include <wx/dialog.h>
	//*)
#endif
//(*Headers(SourceDialog)
#include <wx/statline.h>
//*)

class SourceDialog: public wxDialog
{
	public:

		SourceDialog(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
		virtual ~SourceDialog();

		//(*Declarations(SourceDialog)
		wxButton* ButtonRandom;
		wxButton* Button4;
		wxButton* ButtonMove;
		wxStaticText* StaticText2;
		wxButton* Button1;
		wxButton* ButtonTurnAnti;
		wxButton* ButtonTurn;
		wxPanel* Panel1;
		wxStaticText* StaticText1;
		wxButton* Button2;
		wxStaticLine* StaticLine2;
		wxButton* Button3;
		wxButton* ButtonSave;
		wxButton* ButtonSaveAs;
		wxButton* ButtonTurn180;
		wxStaticLine* StaticLine1;
		wxButton* ButtonReset;
		wxTextCtrl* TextCtrl1;
		wxButton* ButtonOpen;
		//*)


	protected:

		//(*Identifiers(SourceDialog)
		static const long ID_STATICTEXT1;
		static const long ID_BUTTON3;
		static const long ID_BUTTON4;
		static const long ID_BUTTON6;
		static const long ID_BUTTON7;
		static const long ID_STATICLINE2;
		static const long ID_STATICTEXT2;
		static const long ID_BUTTON1;
		static const long ID_BUTTON8;
		static const long ID_BUTTON9;
		static const long ID_BUTTON10;
		static const long ID_STATICLINE1;
		static const long ID_BUTTON5;
		static const long ID_BUTTON2;
		static const long ID_TEXTCTRL1;
		static const long ID_BUTTONOPEN;
		static const long ID_BUTTONSAVE;
		static const long ID_BUTTONSaveAs;
		static const long ID_PANEL1;
		//*)

	private:

		//(*Handlers(SourceDialog)
		void OnButtonMoveClick(wxCommandEvent& event);
		void OnButtonTurnClockClick(wxCommandEvent& event);
		void OnButtonTurn180Click(wxCommandEvent& event);
		void OnButtonTurnAntiClick(wxCommandEvent& event);
		void OnButtonRandomClick(wxCommandEvent& event);
		void OnButtonLoadClick(wxCommandEvent& event);
		void OnButtonResetClick(wxCommandEvent& event);
		void OnButtonSaveClick(wxCommandEvent& event);
		void OnButtonSaveAsClick(wxCommandEvent& event);
		void OnButtonStoreClick(wxCommandEvent& event);
		void OnButtonAddClick(wxCommandEvent& event);
		void OnButtonIfneqClick(wxCommandEvent& event);
		void OnButtonAttackClick(wxCommandEvent& event);
		//*)

		wxString CurrentDocPath;
        wxString Text;
        long min, value, memcell, memcell2, line;

		DECLARE_EVENT_TABLE()
};

#endif
